<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>Document</title>
  </head>
  <body>
    <script>
      var msg = window.navigator.userAgent;
      console.log(msg);
    </script>
  </body>
</html>